type workerDetectRecord = {isUseWorker: bool};